package com.frame.start;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.transaction.annotation.EnableTransactionManagement;


@SpringBootApplication(scanBasePackages= "com.frame.*",exclude={DataSourceAutoConfiguration.class})
@MapperScan(value = {"com.frame.dao","com.frame.mapper"})
@EnableTransactionManagement
public class ProgramStart {

    public static void main(String[] args) throws Exception{
        SpringApplication.run(ProgramStart.class, args);
    }
}